<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script>
window.onload = function (){
var str ='';
for(var i=0;i<1000;i++){
  str += '<input type="button" value="按钮">';	
}
document.body.innerHTML = str;
}
</script>
</head>

<body>

</body>
</html>
